//
//  YWNoContentView2.h
//  YueshengToutiao
//
//  Created by jun peng on 2022/1/25.
//  Copyright © 2022 YW. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_ENUM(NSUInteger, YWNoContentView2Type) {
    YWNoContentView2Type_Error404 = 1,
    YWNoContentView2Type_NoClass = 2,
    YWNoContentView2Type_NoContent = 3,
    YWNoContentView2Type_NoSearchContent = 4,
    YWNoContentView2Type_NoConcernContent = 5,
    YWNoContentView2Type_NoContentButNotConformBtn = 6,
    
};

@class YWNoContentView2;

@protocol YWNoContentView2Delegate <NSObject>

@optional

-(void)noContentView2DidClickRefreshBtn:(YWNoContentView2 *)noContentView2;

@end


@interface YWNoContentView2 : UIView

@property(nonatomic,weak)id<YWNoContentView2Delegate> delegate;

@property(nonatomic,assign)YWNoContentView2Type noContentType;

+(instancetype)noContentView;

@end

NS_ASSUME_NONNULL_END
